﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TestScript
{
    public partial class FrmWebView : Form
    {
        private string _url;

        public FrmWebView(string url)
        {
            InitializeComponent();

            _url = url;

        }

        private void FrmWebView_Load(object sender, EventArgs e)
        {
            this.webBrowser1.ScriptErrorsSuppressed = true;
            this.webBrowser1.Navigate(_url);


        }
    }
}
